Add SOXL signal consumer contract#146
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ce9ba17701
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| ), | ||
| }, | ||
| "us_equity:soxl_soxx_trend_income": { | ||
| "SOXL": ( |
There was a problem hiding this comment.
Normalize SOXL symbols before fallback validation
When a SOXL/SOXX signal bundle uses the documented lowercase soxl/soxx symbols, the normal consumer validation accepts it because symbols are normalized and _canonical_market_data preserves the original keys. If fallback_mode=last_valid later loads that cached payload, _validate_market_signal_inputs_for_consumer does an exact derived_indicators.get(symbol) using this new uppercase SOXL contract key, so the fallback rejects a cache entry that the primary extraction path accepted; normalize the fallback lookup or align the contract casing with the canonical input shape.
Useful? React with 👍 / 👎.
Summary
Tests